/**
 * File name: MedoidCluster.java Author: Willard Wang Create date: Aug 24, 2013
 */
package edu.sjtu.se.prophet.cluster;

/**
 * @author deathspeeder
 * 
 */
public class MedoidCluster extends Cluster {
    protected Point medoid;

    public MedoidCluster(Point medoid) {
        setMedoid(medoid);
    }

    public Point getMedoid() {
        return medoid;
    }

    public void setMedoid(Point medoid) {
        this.medoid = medoid;
        addPoint(medoid);
    }

}
